package com.ivt.service;

import java.util.List;
import java.util.Set;

import com.ivt.core.ex.IvtException;
import com.ivt.model.Courses;
import com.ivt.model.Teacher;
import com.ivt.model.view.QueryCriteria;

public interface CoursesService {

	public Courses create(Courses courses) throws IvtException;

	public Courses update(Courses courses) throws IvtException;

	public long queryCount(QueryCriteria queryCriteria) throws IvtException;

	public List<Courses> queryByCriteria(QueryCriteria queryCriteria)
			throws IvtException;

	public Courses delete(Long id) throws IvtException;

	public int deletes(Long[] ids) throws IvtException;

	public Courses getCourses(Long id) throws IvtException;

	public List<Courses> getCourses(Set<Long> id) throws IvtException;

	public List<Courses> getCoursesByTeacher(Teacher teacher)
			throws IvtException;

}
